package com.wx.datastructure.tree.binary;

import com.wx.datastructure.tree.IBinaryTtee;

import java.util.Random;

/**
 * @author wx
 * @Description: 二分搜索树测试
 * @date 2018/12/26 002617:25
 */
public class BinaryTteeMain {
    public static void main(String[] agrs){
        IBinaryTtee<Integer> binaryTtee = new BinaryTtee();
        Random rand = new Random();
       for (int i = 0 ; i< 100; i++){
           binaryTtee.add(rand.nextInt(500) );
       }
        binaryTtee.inOrder();
        //System.out.println(binaryTtee.toString());
    }
}
